iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 03:10:00 +0000 (03:10 +0000)]
bitkeeper revision 1.1159.212.124 (42082d88aeY4pFTDqfgHMrvhse0-PA)
Fix to memory debugging audit code.
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 02:12:21 +0000 (02:12 +0000)]
bitkeeper revision 1.1159.212.123 (42082005dxGUQnJcMdl-1781X20PQQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 02:11:57 +0000 (02:11 +0000)]
bitkeeper revision 1.1159.248.1 (42081fedCWYqmUmFHfXFmy6z8jqp3w)
Some cleanups:
- Use ENTRIES_PER_L1_PAGETABLE instead of ENTRIES_PER_L2_PAGETABLE
- Use PAGE_SHIFT instead of L1_PAGETABLE_SHIFT
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:17:20 +0000 (01:17 +0000)]
bitkeeper revision 1.1159.212.122 (420813205N6xleek-CEt8_zMptvY9w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:16:50 +0000 (01:16 +0000)]
bitkeeper revision 1.1159.223.78 (
42081302-eWxmHBN6T8FdRJD5VvsOg)
This very simple patch is really just cosmetic. It "fixes" xend so that
it doesn't report restart as: "WARNING (XendDomainInfo:1038) Unknown
config field restart" in the xend.log. I'm not sure who should sign off
on this, but the patch is attached.
From: "B.G. Bruce" <bgb@nt-nv.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:04:49 +0000 (01:04 +0000)]
bitkeeper revision 1.1159.212.121 (42081031Gcfd1G5fgexBl7vd4XfmLQ)
Use 1:1 pagetables used for guest physical mode emulation for doing
phys_to_machine_mapping as well.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 01:03:26 +0000 (01:03 +0000)]
bitkeeper revision 1.1159.212.120 (42080fdeqkhdPXOxk9B5egncOrellQ)
Make phys_to_machine_mapping a static inline function.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:35:02 +0000 (00:35 +0000)]
bitkeeper revision 1.1159.212.119 (42080936hYySAGh0O5TePVvGrzAKtA)
Enable PCI.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:32:45 +0000 (00:32 +0000)]
bitkeeper revision 1.1159.212.118 (420808adQbNXWTSEhY2Rqu5ALqDF5Q)
- Detect the CPU speed automatically, rather than having the user
specify a ips in bochsrc. The user can still specify it to override
the auto-detected value.
- Care should be taken to make sure that tsc_per_bx_tick is not too
small or too big. Otherwise, numerical precision issues may result
in the wrong calculation of elapsed time
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:30:21 +0000 (00:30 +0000)]
bitkeeper revision 1.1159.212.117 (4208081dSxJads7MU6-VcXvC6TNMjQ)
- Use a more appropriate path for disk images
- Add a 1 GB disk image as an option
From: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
iap10@labyrinth.cl.cam.ac.uk [Tue, 8 Feb 2005 00:28:11 +0000 (00:28 +0000)]
bitkeeper revision 1.1159.212.116 (4208079bssB3TTrruGComoEvhNrq9Q)
Fix some of the time virtualization issues.
- Compute the elapsed time correctly in the cpu loop
- Try to inject interrupts in the vmexit handler
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 19:45:56 +0000 (19:45 +0000)]
bitkeeper revision 1.1159.212.115 (4207c574hv18R_VTm-3a9w_AZzNBWw)
Force hypercall continuation arguments to size of longs.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 19:12:35 +0000 (19:12 +0000)]
bitkeeper revision 1.1159.212.114 (4207bda3k03bdnnP3uGkOvKhmXjbkg)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 19:11:33 +0000 (19:11 +0000)]
bitkeeper revision 1.1159.223.77 (4207bd65yRdFmE9Py8fLUBk3826_Ig)
Minor tidy of vif-nat script.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Mon, 7 Feb 2005 18:33:54 +0000 (18:33 +0000)]
bitkeeper revision 1.1159.212.113 (4207b492G2gu92Nd8QzJaaXA-ogT4g)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Mon, 7 Feb 2005 18:33:22 +0000 (18:33 +0000)]
bitkeeper revision 1.1159.223.76 (4207b472nHz4nbC_OJgbSmfRVow8XQ)
Don't let xend throw away stderr...
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 18:29:22 +0000 (18:29 +0000)]
bitkeeper revision 1.1159.212.112 (4207b382VvZgSA3Pg79SQESssYJbHQ)
More x86_64 fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 17:20:50 +0000 (17:20 +0000)]
bitkeeper revision 1.1159.212.111 (4207a372uscrEafJDzNOVuj8gyt_Fw)
SYSCALL fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 16:00:00 +0000 (16:00 +0000)]
bitkeeper revision 1.1159.212.110 (42079080u5EKN2Dp7MbOEM7lnEs4gg)
Various bug fixes, and NMI/DF improvements for x86_64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Mon, 7 Feb 2005 15:51:42 +0000 (15:51 +0000)]
bitkeeper revision 1.1159.212.109 (
42078e8e1-3RnmEqHbanC69txgXoZQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Mon, 7 Feb 2005 15:48:40 +0000 (15:48 +0000)]
bitkeeper revision 1.1159.223.75 (42078dd8VBcyJ0X9yF-bRHcBVUJ3Ww)
As pointed out on the xen-devel list, the vm86 call was not very robust in
Xen.
It turned out to be due to a missing check in the pagefault handler,
determining whether the pagefault came from userspace or from the kernel.
Now the syscall-crash tool doesn't cause any "Oops" on the vm86 calls anymore.
From: Stephan Diestelhorst <sd386@cam.ac.uk>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Mon, 7 Feb 2005 14:48:48 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.212.108 (42077fd0S_urmaLkjaFnGgMRPjUCMA)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Mon, 7 Feb 2005 14:48:34 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.247.1 (42077fc2VzXadqgxjViiGV6bG9CwbA)
Don't memcpy the arch specific bit of exec_domain from the idle task's.
This caused the ctxt->pt_base !=0 error when starting new domains.
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 11:58:09 +0000 (11:58 +0000)]
bitkeeper revision 1.1159.212.107 (420757d1DdfFUXGMssAN0f_k_jSJvA)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Mon, 7 Feb 2005 11:57:29 +0000 (11:57 +0000)]
bitkeeper revision 1.1159.223.74 (420757a9FtyPHOdlg42s6EIT2DD1zw)
Pad Xen image to end on a page boundary. Avoids kexec bug.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@viper.(none) [Sun, 6 Feb 2005 21:30:19 +0000 (21:30 +0000)]
bitkeeper revision 1.1159.212.106 (42068c6bV88PUeuTyW0W65OVudMAlQ)
Added user-memory accessing functionality for x86_64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@viper.(none) [Sun, 6 Feb 2005 18:49:34 +0000 (18:49 +0000)]
bitkeeper revision 1.1159.212.105 (420666bemy1hHhMRPUknF0p3-jxn_w)
x86/64 debug builds use guard pages in unallocated heap space and for
stack-limit enforcement.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:48:31 +0000 (12:48 +0000)]
bitkeeper revision 1.1159.212.104 (4206121fBCAx-xpYAHk3p-Gk_3xChw)
Merge viper.(none):/home/kaf24/xen-2.0-testing.bk
into viper.(none):/home/kaf24/xen-unstable.bk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:48:07 +0000 (12:48 +0000)]
bitkeeper revision 1.1159.223.73 (42061207JyX53LmlrclgfiWwVqnF7w)
Avoid large stack frame in arch_dom0_op by dynamically allocating space
for getmeminfo batch.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:13:37 +0000 (12:13 +0000)]
bitkeeper revision 1.1159.212.103 (420609f1fbTBjl9ynLuVLkWWeqTOag)
Merge viper.(none):/home/kaf24/xen-2.0-testing.bk
into viper.(none):/home/kaf24/xen-unstable.bk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:09:52 +0000 (12:09 +0000)]
bitkeeper revision 1.1159.223.72 (42060910CAWXk13FiquPxR_uRrD_1A)
Prevent stack overflow in PCI setup code.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@viper.(none) [Sun, 6 Feb 2005 12:07:18 +0000 (12:07 +0000)]
bitkeeper revision 1.1159.223.71 (42060876pgZEpnal0wuK3VOOWP9zCQ)
Fix build system to rebuild file containing banner text every time.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Sun, 6 Feb 2005 09:39:57 +0000 (09:39 +0000)]
bitkeeper revision 1.1159.212.102 (4205e5edzyj_0mq8tWZYw76EVB4zcw)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Sun, 6 Feb 2005 09:39:38 +0000 (09:39 +0000)]
bitkeeper revision 1.1159.223.70 (4205e5daVr3OnfNS5GMFcoc8j80ODQ)
trivial fix to the ioremap for local pages
iap10@freefall.cl.cam.ac.uk [Sun, 6 Feb 2005 09:32:53 +0000 (09:32 +0000)]
bitkeeper revision 1.1159.212.101 (4205e445duHww3eKAPqc0vdxWD-fKQ)
trivial fix to the ioremap for local pages
kaf24@viper.(none) [Sat, 5 Feb 2005 18:20:15 +0000 (18:20 +0000)]
bitkeeper revision 1.1159.212.100 (42050e5fWLAKCQAvoZ3CPmyAaL-51g)
Reorganise 'struct domain' and 'struct exec_domain' to each have an
architecture-specific portion. Removed 'mm_struct'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 15:42:48 +0000 (15:42 +0000)]
bitkeeper revision 1.1159.212.99 (4204e978S7U_CKee_ItjbGQ8Ezbw3A)
Another scheduler fix for prev. manual merge.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 15:35:15 +0000 (15:35 +0000)]
bitkeeper revision 1.1159.212.98 (4204e7b362YvATmkfmBxuFTvYN9JQQ)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 15:35:09 +0000 (15:35 +0000)]
bitkeeper revision 1.1159.246.3 (4204e7ad2KYRVbyWiC88XmVkIag9Wg)
More common-code movements for ia64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mafetter@fleming.research [Sat, 5 Feb 2005 14:48:39 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.212.97 (4204dcc70PktbFSV6N0XNpd9T7Z_Nw)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 12:52:28 +0000 (12:52 +0000)]
bitkeeper revision 1.1159.246.2 (4204c18cvI5Uk50dXB8wqfQwKj9ZGw)
Manual merge.
Signed-off-by: keir.fraser@Cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 12:43:14 +0000 (12:43 +0000)]
bitkeeper revision 1.1159.246.1 (4204bf62SAXmiDrhK-FnLlQjHbkY8A)
Manual merge.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 12:39:41 +0000 (12:39 +0000)]
bitkeeper revision 1.1159.223.69 (4204be8dLxMs-eFXEJxgXu_dhM7vLw)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 12:39:34 +0000 (12:39 +0000)]
bitkeeper revision 1.1159.245.1 (4204be86F8AKmyv5_m4N44YWgyyt_Q)
Another NMI watchdog fix. Deferred NMIs need to ACK the local APIC.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mafetter@fleming.research [Sat, 5 Feb 2005 11:37:25 +0000 (11:37 +0000)]
bitkeeper revision 1.1159.212.96 (4204aff5pQipffND8_37kyj01pfiWQ)
Hand merge changes to schedule.c
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 11:12:14 +0000 (11:12 +0000)]
bitkeeper revision 1.1159.212.95 (4204aa0ee0re5Xx1zWrJ9ejxzgRs3w)
Various cleanups. Remove PDB pending simpler GDB stub and/or NetBSD debugger.
Force emacs mode to appropriate tabbing in various files.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mafetter@fleming.research [Sat, 5 Feb 2005 10:50:49 +0000 (10:50 +0000)]
bitkeeper revision 1.1159.223.68 (4204a5090n9Cd2ll6YcdL3tK2uDu1A)
Bug fix to the scheduler for writable page tables.
Don't flush the writable page tables inside __enter_scheduler()
until after we've committed to switching to another domain.
Here's the problem: if enough debugging messages are enabled (for
example, shadow mode and/or writable page tables messages), then we
can get into a situation where we *always* visit
__enter_scheduler() after every page fault and/or hypercall. If we
flush the writable page tables every time we take a page fault,
we'll never end up actually getting into the domain with write
permissions enabled to its page table.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 10:33:02 +0000 (10:33 +0000)]
bitkeeper revision 1.1159.212.94 (4204a0deFxk8r7Vhks3j_qvRlbZMJQ)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 10:31:37 +0000 (10:31 +0000)]
bitkeeper revision 1.1159.223.67 (4204a089yB7FSdCp0Isa4dMFs_V3qQ)
Building PIC .so libs is now optional. Defaults to enabled for Debian.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 09:34:44 +0000 (09:34 +0000)]
bitkeeper revision 1.1159.212.93 (42049334yxlf_y0Z3UvBj3IoXK5ToA)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 09:34:35 +0000 (09:34 +0000)]
bitkeeper revision 1.1159.244.1 (4204932bmZgxudypIonkb5Mm9GmAtA)
Create arch_do_boot_vcpu().
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@freefall.cl.cam.ac.uk [Sat, 5 Feb 2005 09:30:02 +0000 (09:30 +0000)]
bitkeeper revision 1.1159.212.92 (4204921aEJqAV7p8MQEa98S3OLscXg)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Sat, 5 Feb 2005 09:16:37 +0000 (09:16 +0000)]
bitkeeper revision 1.1159.223.66 (42048ef5frMFQFFm-sKDC6PrU8yraQ)
Name: pic-lib.patch
Description: support PIC code generation
Libraries have 2 methods of being compiled; a .so must contain non-pic
objects, while the .a can contain standard objects.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Sat, 5 Feb 2005 09:15:28 +0000 (09:15 +0000)]
bitkeeper revision 1.1159.212.91 (42048eb0GfJFdOOq0Gqyg5xxYH7Mvw)
trivial deletion.
iap10@labyrinth.cl.cam.ac.uk [Sat, 5 Feb 2005 09:11:51 +0000 (09:11 +0000)]
bitkeeper revision 1.1159.223.65 (42048dd7csr55HLi2cE2XeC4OklTGg)
Name: clean-mtrr.patch
Description: clean mtrr
Clean xen/arch/x86/mtrr/*
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Sat, 5 Feb 2005 09:05:43 +0000 (09:05 +0000)]
bitkeeper revision 1.1159.223.64 (42048c67tDD9EILuuYdpEx-vM6LTnw)
Name: tools-misc-TARGETS.patch
Description: Split compile/link stages
distcc behaves much better when you compile and link in 2 separate steps.
Plus, this is a more standard way of doing things.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Sat, 5 Feb 2005 08:07:49 +0000 (08:07 +0000)]
bitkeeper revision 1.1159.212.90 (42047ed5VzguPrbGsZXJdWcbuo6YgA)
remove slab.c
mwilli2@equilibrium.research [Sat, 5 Feb 2005 02:13:44 +0000 (02:13 +0000)]
bitkeeper revision 1.1159.212.89 (42042bd8voKSmpFkxv2_28yjflPbmQ)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
mwilli2@equilibrium.research [Sat, 5 Feb 2005 02:12:56 +0000 (02:12 +0000)]
bitkeeper revision 1.1159.243.1 (42042ba8OAh4EZUckgdGWWSqRLutaQ)
Various cleanups, including a move to the new ring macros.
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 22:48:21 +0000 (22:48 +0000)]
bitkeeper revision 1.1159.212.88 (4203fbb5CoEmX_fzlXc90dxNw6gqoA)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bkX
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 22:47:58 +0000 (22:47 +0000)]
bitkeeper revision 1.1159.242.1 (4203fb9erjxo9v5Lwlohe2bcTrLYpg)
1. Deleted slab.c, added xmalloc.c. Do not rename header or remove
unnecessary includes (yet).
2. Add explicit align arg, although current implementation
over-aligns.
3. Add list_for_each_entry_safe().
4. Make xmalloc_array use _xmalloc_array, to avoid duplicate eval
of "num" arg.
5. Rearrange slab.h a little to show the exposed functions/macros
first.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 17:35:22 +0000 (17:35 +0000)]
bitkeeper revision 1.1159.212.87 (4203b25aTB_XSOA2G0yxgrj0ey-vIA)
Defined per-CPU SYSCALL entry point for hypercalls. We enter the DOM0
kernel and can receive hypercalls. Now probably need to fix the
user-access (uaccess.h) functions and macros.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 15:27:09 +0000 (15:27 +0000)]
bitkeeper revision 1.1159.212.86 (4203944ddTnTLXj6fYycRHIqY8hdCQ)
Fix 64-bit domain builder to correctly determine required number of
page-table pages to build DOM0 image.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 14:48:37 +0000 (14:48 +0000)]
bitkeeper revision 1.1159.212.85 (42038b45EjUo-1JiSCHXW0Wav4TZGQ)
x86_64 progress: now entering ring 3. Need a hypercall (SYSCALL)
entry point, and some kind of DOM0 image to test against.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 12:58:34 +0000 (12:58 +0000)]
bitkeeper revision 1.1159.223.63 (4203717aBdG3DtxPLfIkAUZh6esBbg)
added tag RELEASE-2.0.4
kaf24@scramble.cl.cam.ac.uk [Fri, 4 Feb 2005 09:26:26 +0000 (09:26 +0000)]
bitkeeper revision 1.1159.212.84 (42033fc2Q0eAAtQcKyCf8cXCt_Fgfg)
Common-code cleanups, for ia64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mwilli2@equilibrium.research [Fri, 4 Feb 2005 02:25:03 +0000 (02:25 +0000)]
bitkeeper revision 1.1159.212.83 (4202dcffqbOtLEivv5VMfLvO9roE_w)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
mwilli2@equilibrium.research [Fri, 4 Feb 2005 02:24:03 +0000 (02:24 +0000)]
bitkeeper revision 1.1159.212.82 (4202dcc3h_cg7sFBNwdIyCk_2qkX0A)
Beginning a sprean clean of the USB code.
Lots of cleanups and fixes (thanks to Harry Butterworth for pointing out several
locking and allocation errors).
Signed-off-by: mark.williamson@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:08:55 +0000 (00:08 +0000)]
bitkeeper revision 1.1159.240.3 (4202bd17uoTYqnlSeqvW9fHjznmCHg)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:08:28 +0000 (00:08 +0000)]
bitkeeper revision 1.1159.241.3 (4202bcfcMuCoA62roOJu-r3AKctkBQ)
strncpy will stop after a zero byte. Use memcpy instead.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:05:42 +0000 (00:05 +0000)]
bitkeeper revision 1.1159.241.2 (4202bc56K28qaGGkiiKbJBLxsgnXSA)
Enable monitor assert. Earlier assert was broken and was deleted.
Signed-off-by: Joe Cihula <joseph.cihula@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Fri, 4 Feb 2005 00:01:54 +0000 (00:01 +0000)]
bitkeeper revision 1.1159.241.1 (4202bb72zRYg-QWeXrkKfXwmuL5I3A)
Add checking ISA DMA flag in cpu_loop. Also need to do bios_init manually
for now. With this change, floppy is functional.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
mwilli2@equilibrium.research [Thu, 3 Feb 2005 23:26:30 +0000 (23:26 +0000)]
bitkeeper revision 1.1159.212.81 (4202b326JJIfXeNBQXQRsDKmhOvNEw)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 20:10:48 +0000 (20:10 +0000)]
bitkeeper revision 1.1159.240.2 (42028548cWA5UfVOtIVVGp5n3bPOKQ)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 20:10:15 +0000 (20:10 +0000)]
bitkeeper revision 1.1159.223.63 (
42028527-fv-d9BM0_LRp8UKGP19gQ)
Fix NMI deferral.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 17:24:49 +0000 (17:24 +0000)]
bitkeeper revision 1.1159.240.1 (42025e61IuxB-TOGFWNyIT0-7gRIuw)
More x86_64 progress: currently churning through construct_dom0.
Then will need a few extensions to entry.S and I can jump to ring 3.
To get hypercalls working I will need a SYSCALL entry point and also
to add uaccess.h/usercopy.S functionality.
Signed-off-by: keir.fraser@cl.cam.ac.uk
mwilli2@equilibrium.research [Thu, 3 Feb 2005 17:23:18 +0000 (17:23 +0000)]
bitkeeper revision 1.1159.212.80 (42025e060u_9I_gXRlf-Xf6Ck27Bhg)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into equilibrium.research:/home/irchomes/mwilli2/src/xen-3.0-devel.bk
kaf24@planb.cl.cam.ac.uk [Thu, 3 Feb 2005 17:03:05 +0000 (17:03 +0000)]
bitkeeper revision 1.1159.212.79 (42025949UaM5lFgjnH_ynRCAqL6hhQ)
Merge planb.cl.cam.ac.uk:/auto/anfs/scratch/scramble/kaf24/xen-2.0-testing.bk
into planb.cl.cam.ac.uk:/auto/anfs/scratch/scramble/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 17:02:18 +0000 (17:02 +0000)]
bitkeeper revision 1.1159.223.62 (4202591aKU7cGiiCesn0hIfz1J0vUQ)
Fix bootmem allocator.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 14:45:50 +0000 (14:45 +0000)]
bitkeeper revision 1.1159.212.78 (4202391ehUS0T4TJglUpPqBH3oGjNQ)
Move domain builder to be subarch-specific. Fix pfn_info structure and
page reference-counting to be 64-bit clean.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 13:07:34 +0000 (13:07 +0000)]
bitkeeper revision 1.1159.212.77 (4202221693AFbvFZWeMHHIjQfbzTIQ)
More x86_64 prgress. Many more gaps filled in. Next step is DOM0
construction.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 09:11:33 +0000 (09:11 +0000)]
bitkeeper revision 1.1159.212.76 (4201eac5AlEp4jSQYKA8-oSf0N15pQ)
Add xmalloc_bytes() to the allocator API.
Signed-off-by: keir.fraser@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 09:01:35 +0000 (09:01 +0000)]
bitkeeper revision 1.1159.212.75 (4201e86fqC-UkeTMjRJgsysdz4rT7w)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@scramble.cl.cam.ac.uk [Thu, 3 Feb 2005 08:38:03 +0000 (08:38 +0000)]
bitkeeper revision 1.1159.223.61 (
4201e2eb-AZrvBiRdKncIUx8FuLkeA)
Fix ioremap() for local RAM pages.
kaf24@scramble.cl.cam.ac.uk [Wed, 2 Feb 2005 23:14:59 +0000 (23:14 +0000)]
bitkeeper revision 1.1159.212.74 (42015ef3sPQp8pjeJAck1wBtTAYL9g)
Interface to typed allocator is now just xmalloc/xmalloc_array/xfree.
_xmalloc/_xmalloc_array are dead (or, at least, non-API).
Signed-off-by: keir.fraser@cl.cam.ac.uk
cl349@arcadians.cl.cam.ac.uk [Wed, 2 Feb 2005 23:06:19 +0000 (23:06 +0000)]
bitkeeper revision 1.1159.223.60 (42015cebANp9qR68FaUpAYoMHdrfpQ)
console.c:
Disable watchdog before doing the 5 second delay before machine restart.
Signed-off-by: c@pin.lu
cl349@arcadians.cl.cam.ac.uk [Wed, 2 Feb 2005 22:40:20 +0000 (22:40 +0000)]
bitkeeper revision 1.1159.223.59 (420156d4cxaGMuI8rtUWoTShsPVlNQ)
setup.c:
Always disable irqdebug until we have a way to avoid interrupt conflicts.
Signed-off-by: c@pin.lu
kaf24@viper.(none) [Wed, 2 Feb 2005 22:31:42 +0000 (22:31 +0000)]
bitkeeper revision 1.1159.212.73 (420154ceFUvIANCrxSTgPyOjFi1Pag)
More x86_64 work. Interrupts and exceptions are now working. Next step is
DOM0 construction. First part of that is to map rest of physical memory,
allocate and map the mach_to_phys table, and fix arch_init_memory().
Signed-off-by: keir.fraser@cl.cam.ac.uk
mwilli2@equilibrium.research [Wed, 2 Feb 2005 18:34:35 +0000 (18:34 +0000)]
bitkeeper revision 1.1159.239.1 (42011d3b3kafRU5DPu227sLReeeG3g)
Ignore SET_CONFIGURATION messages for now. It Works For Me (TM). Please
report any problems / weirdness you see as a result.
kaf24@scramble.cl.cam.ac.uk [Wed, 2 Feb 2005 18:27:05 +0000 (18:27 +0000)]
bitkeeper revision 1.1159.212.72 (42011b79Y7C9nEKFZ5pdQXwp8jC9hw)
More x86/64. Now boot secondary CPUs, but I seem to have problems
executing IRET, so interrupts are fatal.
Signed-off-by: keir.fraser@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 15:24:31 +0000 (15:24 +0000)]
bitkeeper revision 1.1159.212.71 (4200f0afX_JumfbEHQex6TdFENULMQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 15:24:12 +0000 (15:24 +0000)]
bitkeeper revision 1.1159.238.7 (4200f09cegOci_6ijw2B4UT2y9odbA)
Enforce alignment of i387 data
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 15:22:39 +0000 (15:22 +0000)]
bitkeeper revision 1.1159.238.6 (4200f03fkl-Cpg9vhe49bVfY0e7TZQ)
Fix deps in Makefile
mafetter@fleming.research [Wed, 2 Feb 2005 15:09:37 +0000 (15:09 +0000)]
bitkeeper revision 1.1159.223.58 (4200ed31YDg6myRSqtQaWLMgRgJ7dA)
Fix "make dist" so that it works from inside the xen subdirectory.
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 14:11:22 +0000 (14:11 +0000)]
bitkeeper revision 1.1159.238.5 (4200df8a5A2pMKPYmS5iOV3Q8d2zIw)
Cset exclude: iap10@labyrinth.cl.cam.ac.uk|ChangeSet|
20050202130109|29824
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 13:01:09 +0000 (13:01 +0000)]
bitkeeper revision 1.1159.238.4 (4200cf15b8T6NKAN_1Kqx3nMy4I7WA)
slab.c in Linux is not a very nice piece of code: the version in Xen has
been hacked a certain amount and is not a vision of beauty either.
Given how rare and non-time-critical dynamic allocations are in Xen,
this replaces the 1800-line slab.c with a 160-line malloc.c which is
written as simply as possible for future enhancement.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 12:54:40 +0000 (12:54 +0000)]
bitkeeper revision 1.1159.238.3 (4200cd90cCW2XIYxAgdkWL28Tzf-8g)
Introduce _xmalloc for when you really want just bytes.
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 12:43:34 +0000 (12:43 +0000)]
bitkeeper revision 1.1159.238.2 (4200caf6iFnj85XmiFNAz7VursMGUw)
Slab caches for things allocated only on initialization seems to be
overkill. This patch replaces them with the previous typesafe
allocator.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
iap10@labyrinth.cl.cam.ac.uk [Wed, 2 Feb 2005 12:34:32 +0000 (12:34 +0000)]
bitkeeper revision 1.1159.238.1 (4200c8d8KsGlaM3w6o3y4GHhK1jKjg)
A typesafe allocator submitted by Rusty Russel with trivial renames by me.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
kaf24@scramble.cl.cam.ac.uk [Wed, 2 Feb 2005 09:38:32 +0000 (09:38 +0000)]
bitkeeper revision 1.1159.212.70 (42009f98S4XUaUN_bw-spD54MX9ZtQ)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk